# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=fragroute
pkgver=1.2
pkgrel=1
groups=('blackarch' 'blackarch-networking')
pkgdesc='A network intrusion detection evasion toolkit.'
url='http://www.monkey.org/~dugsong/fragroute/'
depends=('libpcap' 'libdnet' 'libevent')
license=('GPL')
arch=('x86_64')
source=("http://www.monkey.org/~dugsong/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('00f32a4660db8a58e0e86c525065f8a33ed8b9aec2933938dc2543ad533b0035c636c7b5e5833ff79cecaa7361dbfec4b7c88b5589de166e54dc76ae35a53351')

build() {
  cd "$pkgname-$pkgver"

  CPPFLAGS= ./configure --prefix=/usr --sysconfdir=/etc

  make
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}

